<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.List"%>
<%@ page import="hmg.vo.BoardVO"%>
<%--
    JSP Name : jspName.jsp
    Description : 설명을 기술합니다.
    author Kim hyung soo
    since 2012. 8. 23.
    version 1.0
    Modification Information
       since          author              description
    ===========    =============    ===========================
    2012. 8. 23.     Kim hyung soo     최초 생성
--%>
<%
    List<BoardVO> magazineList = (List<BoardVO>) request.getAttribute("MagazineList");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>계열사 사보 | 현대자동차그룹</title>
<meta name="description" content="현대자동차그룹 계열사별 사보 안내" />
<meta name="keywords" content="현대자동차그룹 계열사 사보, 현대모터, 기아월드, 행복한삶의동반자, MOBIS, 푸른연금술사, HYUNDAI E&C TODAY, STEEL LEADER, GLOVIS+, 현대위아웹진, 현대로템, 파워텍사람들, 엠코사랑, 사람과공간, 한마음, KEFICOPLUS" />
<%@ include file="/WEB-INF/jsp/web/kor/include/header.jspf" %>
<script type="text/javascript">
//<![CDATA[
function fn_Link(url) {
    window.open(url, "small", "toolbar=0,location=0,status=0,menubar=0,scrollbars=yes,resizable=yes,width=1024,height=768");

    return false;
}
//]]>
</script>
</head>
<body>
    <!--wrap-->
    <div id="wrap">
        <!-- skip navigation -->
        <div id="skipnavition">
            <a href="#gnb">메뉴바로가기</a><a href="#content">본문바로가기</a>
        </div>
        <!--// skip navigation -->

        <hr />

        <!-- header-->
        <%@ include file="/WEB-INF/jsp/web/kor/include/left.jspf" %>
        <!--//header-->

        <hr />


        <!--container-->
        <div id="container">
            <div class="scroll-pane">
            <!-- 공통 -->
            <div class="subTitle">
                <div class="pageTitle">
                    <h2><img src="/hmg/images/web/kor/title/mgr_anl_Affiliate.gif" alt="계열사 사보" /></h2>
                    <p class="subCopy"><img src="/hmg/images/web/kor/title/mgr_anl_Affiliate_desc.gif" alt="다양한 사보를 통해 고객에게 한걸음 더 다가갑니다" /></p>
                </div>

                <div class="pageLocation">
                    <ul>
                        <li><a href="/hmg/web/kor/Main.do"><img src="/hmg/images/web/kor/common/location_home.gif" alt="홈"/></a></li>
                        <li><a href="/hmg/web/kor/mgr/GallerySubMain.do">갤러리</a></li>
                        <li class="nowPage"><a href="/hmg/web/kor/mgr/mgz/CompanyMagazine.do">계열사 사보</a></li>
                    </ul>
                </div>
            </div>
            <!--//공통-->

            <!--contents-->
            <div id="content">

            <!-- 내용 -->
            <div class="contents_mgr_affiliate">
                <ul class="affiliateList">
<%
    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 1) {
%>
                    <li>
                        <dl>
                            <dt>현대자동차</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }

    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 5) {
%>
                    <li>
                        <dl>
                            <dt>현대제철</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }

    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 6) {
%>
                    <li>
                        <dl>
                            <dt>현대위아</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }

    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 7) {
%>
                    <li>
                        <dl>
                            <dt>현대엔지니어링</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }
%>
                </ul>
                <ul class="affiliateList section2">
<%
    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 3) {
%>
                    <li>
                        <dl>
                            <dt>기아자동차</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }

    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 8) {
%>
                    <li>
                        <dl>
                            <dt>현대건설</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }

    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 9) {
%>
                    <li>
                        <dl>
                            <dt>현대로템</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }

    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 16) {
%>
                    <li>
                        <dl>
                            <dt>현대다이모스</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }
%>
                </ul>
                <ul class="affiliateList">
<%
    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 4) {
%>
                    <li>
                        <dl>
                            <dt>기아자동차</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }

    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 10) {
%>
                    <li>
                        <dl>
                            <dt>현대하이스코</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }

    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 11) {
%>
                    <li>
                        <dl>
                            <dt>현대파워텍</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }

    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 12) {
%>
                    <li>
                        <dl>
                            <dt>현대케피코</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
                </ul>
<%
        }
    } %>
                <ul class="affiliateList section3">
<%
    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 13) {
%>
                    <li>
                        <dl>
                            <dt>현대모비스</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }

    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 14) {
%>
                    <li>
                        <dl>
                            <dt>현대글로비스</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }

    for (int idx = 0; idx < magazineList.size(); idx++) {
        BoardVO magazine = magazineList.get(idx);

        if (magazine.getListID() == 15) {
%>
                    <li>
                        <dl>
                            <dt>현대엠코</dt>
                            <dd><%= magazine.getTitle() %></dd>
                            <dd class="photo"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="<%= magazine.getThumbnailImage() %>" alt="" style="width:140px; height:140px;"/></a></dd>
                        </dl>
                        <p class="btnMore"><a href="#" onclick='return fn_Link("<%= magazine.getLink1() %>");'><img src="/hmg/images/web/kor/mgr/affiliate-btn-more.gif" alt="더보기" /></a></p>
                    </li>
<%
        }
    }
%>
                </ul>
            </div>
            <!--// 내용 -->

            </div>
            <!--//contents-->
        </div>
        </div>
        <!--//container-->

        <hr />

        <!--footer-->
        <%@ include file="/WEB-INF/jsp/web/kor/include/footer.jspf" %>
        <!--//footer-->
        <hr />
        <!--notice-->
        <%@ include file="/WEB-INF/jsp/web/kor/include/notice.jspf" %>
        <!--//notice-->

    </div>
    <!--//wrap-->

</body>
</html>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         